package net.mingsoft.document.constant;

/**
 * @author gengfa
 * @date 22/01/14
 */
public class FileConstant {

    public static final String FILE_SEPARATOR_WIN = "\\";

    public static final String FILE_SEPARATOR_WIN_R = "\\\\";

    public static final String DOT = ".";

    public static final String ROOT_DIR = "ROOT";
    public static final String ROOT_DIR_NAME = "根目录";

    public static final String DEFAULT_FILE_CODE_SUFFIX = "001";
    public static final String DEFAULT_NEW_DIR_NAME = "新建文件夹";
    public static final String UNKNOWN_EXT = "unknown";
    public static final String DEFAULT_FILE_TYPE = "DOC";
    public static final String BLANK_FILE_PATH = "";
    public static final String DOCUMENT_PATH_PREFIX = "documents";
    public static final String DELETED_SUFFIX = "_deleted";
    public static final String SLASH = "/";

    public static final String DEFAULT_SHARE_LINK = "https://share.link";

    public static final String[] IMAGE_EXT = {"png", "jpg", "gif"};
    public static final String[] WORD_EXT = {"doc", "docx"};
    public static final String[] EXCEL_EXT = {"xls", "xlsx"};
    public static final String[] PDF_EXT = {"pdf"};
    public static final String[] PPT_EXT = {"ppt", "pptx"};

    public static final String IMAGE_NAME = "图片文件";;
    public static final String WORD_NAME = "word文档";;
    public static final String EXCEL_NAME = "excel文档";;
    public static final String PDF_NAME = "pdf文档";;
    public static final String PPT_NAME = "ppt文档";;
    public static final String OTHER_NAME = "其他";;

    public static final String IMAGE = "IMAGE";
    public static final String WORD = "WORD";
    public static final String EXCEL = "EXCEL";
    public static final String PDF = "PDF";
    public static final String PPT = "PPT";
    public static final String OTHER = "OTHER";;
}
